package com.aistar.service;

import com.aistar.pojo.Product;
import com.aistar.util.ServerResponse;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ProductService extends BaseService<Product> {
    //所有
//    public List<Product> getProducts();
    public PageInfo<Product> getAllpage(int pageNum);
    //类型
    public List<Product> getByBigId(int bigId);
    //id
    public Product getByProId(int proId);
    //name
    ServerResponse getByName(String  proName);

}
